﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="LightBoxGallery.ascx.cs" Inherits="ShopOnline.Controls.LightBoxGallery" %>

<asp:DataList ID="rptImages" runat="server" >
    <ItemTemplate>
        <div class='galleryItem' imgid='<%# Eval(IDField) %>' >
            <div style="text-align:left;vertical-align:top;">
                <a onclick='<%# "choosePic(this); return false;" %>' title='<%# Eval(DescriptionField) %>' >
                    <img style="border:none" runat="server" real='<%# POSSystem.BLL.Utilities.GetConfigAppSetting("ProductImagePath") + "/" + Eval(OriginalField).ToString().Replace("~/", "") %>' src='<%# POSSystem.BLL.Utilities.GetConfigAppSetting("ProductImagePath") + "/" + Eval(ThumbField).ToString().Replace("~/", "") %>' alt='<%# Eval(DescriptionField) %>' />
                </a>
            </div>
        </div>
    </ItemTemplate>
</asp:DataList>

